package com.eshop.eshop2021_v1.controller.before;

import com.eshop.eshop2021_v1.common.CodeUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author: 若若叶
 * @date: 2021/10/6 14:35 FileName: CodeController Description:
 */
@Controller
public class CodeController {
  @RequestMapping("/getCode")
  public void getCode(HttpServletResponse response, HttpServletRequest request) {
    CodeUtils.getvalidataCode(request, response);
  }
}
